package com.sanqing.po;



/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Employee employee;
     private String username;
     private String password;
     private boolean isadmin;


    // Constructors

    /** default constructor */
    public Users() {
    }

	/** minimal constructor */
    public Users(String username, String password) {
        this.username = username;
        this.password = password;
    }
    
    /** full constructor */
    public Users(Employee employee, String username, String password, boolean isadmin) {
        this.employee = employee;
        this.username = username;
        this.password = password;
        this.isadmin = isadmin;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Employee getEmployee() {
        return this.employee;
    }
    
    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public boolean getIsadmin() {
        return this.isadmin;
    }
    
    public void setIsadmin(boolean isadmin) {
        this.isadmin = isadmin;
    }
   








}